package com.zhuoyue.common.constant;

/**
 * @author Administrator
 */
public interface DeviceConstant {

     int MESSAGE_TYPE_WRITE_DATA_TO_GATEWAY = 2;

     String KEY_GATEWAY_DATA_WRITE_NOTIFY_CHANNEL = "smart.home.socket.server.gateway.data.write.notify.channel";

    /**
     * 请求命令处理的目的
     *
     * @author Administrator
     */
    interface RequestPurpose {

        /**
         * 获取控制命令
         */
        String GET_CMD = "GET";

        /**
         * 控制设备
         */
        String CONTROL_DEVICE = "CONTROL";

        /**
         * 设备配置
         */
        String DEVICE_SET = "SET";


        String WIFI_GET = "WIFI_GET";

        String WIFI_CONTROL = "WIFI_CONTROL";

    }


    /**
     * 设备类型
     *
     * @author hualong
     */
    interface DeviceType {

        /**
         * ZigBee设备
         */
        int ZIGBEE_DEVICE = 1;

        /**
         * wifi设备
         */
        int WIFI_DEVICE = 2;

        /**
         * 网关
         */
        int GATEWAY = 3;

        /**
         * 普通空调
         */
        int AC = 4;

        /**
         * 电视
         */
        int TELEVISION = 5;

        /**
         * 风扇
         */
        int ELECTRIC_FAN = 6;

        /**
         * 中央空调
         */
        int CENTRAL_AC = 7;

        /**
         * 机顶盒
         */
        int STB = 8;

        /**
         * nb设备
         */
        int NB_DEVICE = 9;

    }

    /**
     * 设备产品类型
     *
     * @author hualong
     */
    interface ProductType {

        /**
         * 一路面板
         */
        String YI_LU_MIAN_BAN = "0FAA0504";

        /**
         * 二路面板
         */
        String ER_LU_MIAN_BAN = "0FAA0602";

        /**
         * 二路联控面板
         */
        String ER_LU_LIAN_KONG_MIAN_BAN = "0FAA0604";

        /**
         * 三路面板
         */
        String SAN_LU_MIAN_BAN = "0FAA0702";

        /**
         * 三路联控面板
         */
        String SAN_LU_LIAN_KONG_MIAN_BAN = "0FAA0704";

        /**
         * 四路联控面板
         */
        String SI_LU_LIAN_KONG_MIAN_BAN = "0FAB0602";

        /**
         * 四路面板
         */
        String SI_LU_MIAN_BAN = "0FAA0804";
        /**
         * 多功能开关
         */
        String DUO_GONG_NENG_KAI_GUAN = "0FAA8A09";

        /**
         * 卓越面板
         */
        String ZHUO_YUE_MIAN_BAN = "0FAA8A0A";

        /**
         * 八路控制器
         */
        String BA_LU_KONG_ZHI_QI = "0FAB0202";
        /**
         * 双色温
         */
        String SSW = "0FAA0D02";

    }
}
